package com.heima.model.common.dtos;

import com.heima.model.annotation.EnumValue;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class CommentRepayLikeDTO {
    /**
     * 回复id
     */
    @NotEmpty(message = "回复的id不能为空")
    private String commentRepayId;
    /**
     * 0：点赞
     * 1：取消点赞
     */
    @EnumValue(shortValues = {0,1},message = "操作类型只能是0或者1")
    private Short operation;
}